# def func():
#     print(1)
#     func()
# func()


# def func(a):
#     if a ==5 :
#         return 100000
#
#     result = func(a+1)+10
#     return result
# v = func(1)
# print(v)

def x(num):
    def wrapper(func):
        def inner(*args,**kwargs):
            li = []
            for i in range(num):
                result = func(*args, **kwargs)
                li.append(result)
            return li
        return inner
    return wrapper

@x(8)
def index():
    print("8")
    return 9
DATA = index()
print(DATA)









